package com.xykj.enterprise.wechat.ext.service.contacts;

import com.xykj.enterprise.wechat.bean.ext.BaseResp;
import com.xykj.enterprise.wechat.bean.ext.contacts.department.CreateDepartmentVo;
import com.xykj.enterprise.wechat.bean.ext.contacts.department.DepartmentListVo;

import java.util.HashMap;

/**
 * 通讯录管理-部门
 */
public interface ContactsDepartmentService {

    CreateDepartmentVo createDepartment(String accessToken, HashMap<String, Object> params);

    BaseResp deleteDepartment(String accessToken, Integer id);

    DepartmentListVo departmentList(String accessToken, Integer id);

    BaseResp updateDepartment(String accessToken, HashMap<String, Object> params);
}
